package com.ganzi.ganziserver.dao;

import com.ganzi.ganziserver.core.FanState;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigInteger;
import java.util.List;

@Repository
public interface FanStateDao {

    public FanState findFanStateByFanId(long id)throws Exception;
    public void insertFanState(FanState fanState)throws Exception;
    public void updateFanState(FanState fanState)throws Exception;
    public void updateOnLine(@Param("collectionId")long collectionId , @Param("state")int state)throws Exception;
}
